<section class="title">
<?php if ($this->method == 'create'): ?>
	<h4><?php echo lang('escort_banner_create_title'); ?></h4>
<?php else: ?>
	<h4><?php echo sprintf(lang('uploking_admin_user_manager_edit_user_label'), $user->username); ?></h4>
<?php endif; ?>
</section>
<section class="item">
<?php echo form_open_multipart(uri_string(), 'class="crud" '); ?>
<div class="form_inputs" id="news-form">
	<fieldset>
		<ul>
			<li class="even">
				<label for="user_added"><?php echo lang('uploking_admin_user_manager_first_name_label'); ?></label>
				<div class="input"><?php echo form_input('first_name', $user->first_name, 'maxlength="100" id="first_name"'); ?></div>				
			</li>
			<li class="odd">
				<label for="define_text"><?php echo lang('uploking_admin_user_manager_last_name_label')?></label>
				<div class="input"><?php echo form_input('last_name', $user->last_name)?></div>
			</li>
			<li class="even">
				<label for="title"><?php echo lang('uploking_admin_user_manager_username_label')?></label>
				<div class="input"><?php echo form_input('username', $user->username, 'id="username" readonly="readonly"')?></div>
			</li>
			<li class="even">
				<label for=""><?php echo lang('uploking_admin_user_manager_email_label')?></label>
				<div class="input">
					<?php echo form_input('email', $user->email, 'readonly="readonly"')?>
				</div>
			</li>
			<li class="even">
				<label for=""><?php echo lang('uploking_admin_user_manager_password_label')?></label>
				<div class="input">
					<?php echo form_password('password', '', '')?>
				</div>
			</li>
			<li class="even">
				<label for=""><?php echo lang('uploking_admin_user_manager_retype_password_label')?></label>
				<div class="input">
					<?php echo form_password('retype_password', '', '')?>
				</div>
			</li>
			<li>
				<label for="active"><?php echo lang('uploking_admin_user_manager_status_label')?></label>
				<div class="input"><?php echo form_checkbox('active', 1, $user->active)?></div>
			</li>
		</ul>
	</fieldset>
</div>
<div class="buttons float-right padding-top">
<?php $this->load->view('admin/partials/buttons', array('buttons' => array('save', 'save_exit', 'cancel'))); ?>
</div>
<?php echo form_close(); ?>
</section>
<div id='confirm'>
	<div class='header'><span><?php echo lang('escort_confirm')?></span></div>
	<div class='message'><?php echo lang('escort_banner_delete_domain_message')?></div>
		<div class='buttons'>
		<div class='no simplemodal-close'><?php echo lang('escort_confirm_no')?></div><div class='yes'><?php echo lang('escort_confirm_yes')?></div>
	</div>
</div>